Shrink repo: rewrite history to remove GIFs, host demo videos on GitHub#9
Open
jonico wants to merge 23 commits into
Open
Shrink repo: rewrite history to remove GIFs, host demo videos on GitHub#9jonico wants to merge 23 commits into
jonico wants to merge 23 commits into
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rel#1) Search Strategy update to utilize private network search
…man_cli_skills Add postman cli workflow skills
Signed-off-by: Yoichi Kawasaki <yokawasa@gmail.com>
Signed-off-by: Yoichi Kawasaki <yokawasa@gmail.com>
…rget fix: use pull_request_target for labeler to support fork PRs
Fix Postman API key links
added support for OAuth.
…ostman-context Add Postman Context to skills
added unique headers and bumped version
History rewrite that removes the large GIF assets from repo history. Demo videos in the README now reference GitHub user-attachment URLs (uploaded via issue Postman-Devrel#10) rather than being checked into assets/.
ebe23ab to
6b9faa7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch rewrites the entire history of the repository to remove the large GIF assets, and updates the README to source demo videos from GitHub user-attachment URLs (uploaded via #10) instead of repo-hosted files.
Net effect:
github.com/user-attachments/assets/...user-attachmentsURLs are the only path that survives GitHub's markdown sanitizer)Videos referenced (uploaded in #10):
Repo size impact
Measured as total clone footprint on disk (
du -shaftergit clone), which is what new contributors actually pay:.gitgit clone … (current main)git clone --single-branch --branch <rewritten-main>The four GIFs accounted for nearly all of it:
assets/postman-plugin-codegen.gifassets/postman-plugin-sync.gifassets/postman-plugin-mock-server.gifassets/postman-plugin-api-ai-check.gifAfter the rewrite, the largest blob in this branch is
scripts/postman_client.pyat 52 KiB — no binary assets remain.A force-push of this branch to
mainalone will not shrink a defaultgit cloneof the upstream repo, because the GIF blobs are still reachable from 5 other branches. To get the full benefit, those branches need to be deleted (or rewritten) after the merge.Maintainer integration steps
1. Force-push this branch to
main# From an up-to-date local clone of upstream: git fetch https://github.com/jonico/postman-claude-code-plugin.git compress-gifs-to-mp4 git checkout main git reset --hard FETCH_HEAD git push --force-with-lease origin mainOr via the GitHub UI: temporarily lift branch protection on
main, then run the above. Re-enable protection afterward.2. Delete the GIF-carrying branches
Status of each branch (verified via `gh api .../compare/main...`):
To delete the three safe branches:
3. Decide on the two remaining branches
`feature/private-network-search` — its original PR is merged but the branch has 5 commits ahead of main. Inspect with `git log main..feature/private-network-search` to see if anything is worth preserving. If not, delete the same way.
`jia.kim/revert-context` (PR #8 open) — either:
4. (Optional) Trigger GitHub-side garbage collection
After branches are deleted, the GIF blobs become unreachable but may persist in GitHub's pack storage for a while. New clones will not include them, but to force an immediate repack, open a support request at https://support.github.com asking for a manual GC. Otherwise, GitHub eventually GCs unreachable objects on its own schedule.
Important — this is not a normal merge
Because the history was rewritten, commits on this branch do not share ancestry with `main`. A standard PR merge is not possible. To integrate, a maintainer must force-push this branch to `main` (per step 1 above) rather than using the GitHub merge button.
Everyone with a local clone will need to re-clone or hard-reset to the new `main` after the force-push.
Test plan